package com.zhht.checkcop.util;

import java.util.HashMap;
import java.util.Map;

public class Test {

	public static void main(String[] args) throws Exception {
		Map<String,Object> map =new  HashMap<String,Object>();
		map.put("1", 1);
		map.put("aa", 2);
		map.put("7d", 33);
		
		System.out.println(SHA1.signature(SHA1.buildEncryptString(map), PropertyUtil.getProperty("sign.key")));
		map.put("7d", 34);
		System.out.println(SHA1.signature(SHA1.buildEncryptString(map), PropertyUtil.getProperty("sign.key")));
	}

}
